package com.xmut.mall.store.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

@Data
public class StoreOtherInfoDTO {
    @Size(min = 2, max = 200)
    @NotBlank(message = "店铺名称不能为空")
    private String storeName;

    private String storeLogo;

    @Size(min = 6, max = 200)
    @NotBlank(message = "店铺简介不能为空")
    private String storeDesc;

    @NotEmpty
    private String storeCenter;

    @NotBlank(message = "店铺经营类目不能为空")
    private String goodsManagementCategory;

    @NotBlank(message = "地址不能为空")
    private String storeAddressPath;

    @NotBlank(message = "地址ID不能为空")
    private String storeAddressIdPath;

    @NotBlank(message = "地址详情")
    private String storeAddressDetail;

    @NotBlank
    private Long memberId;
}
